package org.jeecg.modules.api.geo.service;

import org.jeecg.modules.geo.model.param.GeoAreaParam;
import org.jeecg.modules.geo.model.vo.GeoVO;

import javax.servlet.http.HttpServletRequest;

public interface IBimApiGeoService {

    /**
     * 获取第三方业务系统数据
     *
     * @param projectId
     * @param appCode
     * @param httpServletRequest
     * @return
     */
    GeoVO getGeoInfo(Long projectId, String appCode, HttpServletRequest httpServletRequest);

    void addGeoInfo(GeoAreaParam geoAreaParam, HttpServletRequest httpServletRequest);


    /**
     * 查询应用接口下项目
     *
     * @param projectApiId  projectApiId
     * @param httpServletRequest
     * @return
     */
    String queryProjectForApiId(Integer projectApiId, HttpServletRequest httpServletRequest);

    /**
     * 查询指定业务类型第三方接口
     *
     * @param businessType
     * @return
     */
    String queryApi(String businessType, HttpServletRequest httpServletRequest);
}
